<template>
    <div>
        <h1>登陆</h1>
        <table class="table table">
            <tr>
                <td>登录名</td>
                <td>
                    <input type="text">
                </td>
            </tr>
            <tr>
                <td>密码</td>
                <td>
                    <input type="password">
                </td>
            </tr>
            <tr>
                <td></td>
                <td>
                    <input type="button" value="登陆" @click="deng">
                </td>
            </tr>
        </table>
    </div>
</template>

<script setup lang="ts">
import router from '@/router';
import {reactive,ref,onMounted} from 'vue'
import {useRoute,useRouter} from 'vue-router'
let quingo=reactive({
    name:'',
    pwd:'',
})
const deng=()=>{
    alert("登陆成功!")
    router.push("/show");
}
</script>

<style scoped>

</style>